package com.xique.door.device.hq.service;

import com.alibaba.fastjson.JSONObject;
import com.xique.door.device.hq.bean.request.HqDeviceDelPersonRequest;
import com.xique.door.device.hq.bean.request.HqDeviceDownPersonRequest;
import com.xique.door.device.hq.bean.request.HqDeviceDownPersonsRequest;
import com.xique.door.device.hq.bean.request.HqDeviceGetStatusRequest;

/**
 * @author shd
 * @create 2021/9/18 11:05
 */
public interface IHqDeviceCommandService {

    /**
     * 单个用户信息下发
     * @author shd
     * @date 2021/9/18 11:05
     * @param request
     * @return com.xique.door.device.hq.bean.response.JSONObject
     */
    JSONObject downPersonCommandIssue(HqDeviceDownPersonRequest request);

    /**
     * 多个用户信息下发
     * @author shd
     * @date 2021/9/18 11:05
     * @param request
     * @return com.xique.door.device.hq.bean.response.JSONObject
     */
    JSONObject downPersonsCommandIssue(HqDeviceDownPersonsRequest request);

    /**
     * 单个用户删除下发
     * @author shd
     * @date 2021/9/18 11:38
     * @param request
     * @return com.xique.door.device.hq.bean.response.JSONObject
     */
    JSONObject delPersonCommandIssue(HqDeviceDelPersonRequest request);

    /**
     * 获取状态
     * @author shd
     * @date 2021/9/18 11:39
     * @param request
     * @return com.xique.door.device.hq.bean.response.JSONObject
     */
    JSONObject getStatusCommandIssue(HqDeviceGetStatusRequest request);

}
